package com.crr.mall.user.feign;

import com.crr.mall.common.bean.ResultBean;
import com.crr.mall.common.to.SkuRelationTO;
import com.crr.mall.common.utils.BaseController;
import com.crr.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("renrenmall-coupon")
public interface CouponFeignService {

    @GetMapping("/coupon/coupon/member")
    R couponMember();

    @PostMapping("coupon/skufullreduction/save")
    R saveSkuRelation(@RequestBody SkuRelationTO skuRelationTO);

}
